<?php

class Adept_Db_Query_Abstract 
{
    
    protected $connection;
    
    public function __construct($connection = null) 
    {
        if (is_null($connection)) {
            $this->connection = $connection;
        }
    }

    /**
     * @abstract This method should be overrided
     * 
     * @return string Result SQL text returns
     */
    public function __toString() 
    {
        throw new Adept_Exception('Abstract method called');
    }
    
}
